// 操作token的方法
const Key = 'geek-client-pc-token'
// 存, 取, 删
export const setToken = (token) => {
  localStorage.setItem(Key, token)
}

export const getToken = () => {
  // localStorage.getItem() 本地取值没有返回null
  return localStorage.getItem(Key)
}

export const removeToken = () => {
  localStorage.removeItem(Key)
}
